
</table>

<div class="mws-panel grid_8">
	<div class="mws-panel-header">
		<span><i class="icon-newspaper"> List Banners</i></span>
	</div>
	<div class="mws-panel-toolbar">
		<div class="btn-toolbar">
			<div class="btn-group">
				<a href="<?php echo base_url()?>admin/banners/add" class="btn"><i class="icol-add"></i> Add</a>
			</div>
		</div>
	</div>
	<div class="mws-panel-body no-padding">
		<table class="mws-table">
			<thead>
				<tr>
					<th width="30px">No</th>
					<th>Judul Banner</th>
					<th>Kategori Banner</th>
					<th width="100px">Action</th>
				</tr>
			</thead>
			<tbody>
				<?php $i = 1 ?>
				<?php foreach($rows as $row): ?>
				<tr>
					<td><?php echo $i ?></td>
					<td><?php echo $row->judul_banner ?></td>
					<td><?php echo $row->nama_kategori_sub ?></td>
					<td>
						<div class="btn-group">
							<a href="<?php echo base_url()?>admin/banners/edit/<?php echo $row->id_banner?>" class="btn"><i class="icol-pencil"></i> Edit</a>
							<a href="<?php echo base_url()?>admin/banners/delete/<?php echo $row->id_banner?>" class="btn" OnClick="return confirm('Are you sure?');"><i class="icol-cross"></i> Delete</a>
						</div>
					</td>
						</tr>
						<?php $i++; ?>
					<?php endforeach ?>
				</tbody>
			</table>
		</div>
	</div>
	<?php $i++ ?>
